package view;

import dao.GoodInfoDao;
import impl.GoodInfoDaoImpl;

/**
 * @classname:RankGood
 * @description:
 * @author: Mr.Z
 * @date: 2021/1/2 21:36
 * @version: 0.1
 * @since:1.8
 */
public class RankGood {
    private RankGood(){}
    public static void rankgoodInfo(){
        GoodInfoDao goodInfoDao = new GoodInfoDaoImpl();
        goodInfoDao.rankByType().forEach(System.out::println);
    }
}
